package models

type PUB_USER_LOG struct {
	LogID     int    `gorm:"PRIMARY_KEY;AUTO_INCREMENT;NOT NULL"`
	UserCode  string `gorm:"type:varchar(50); not null;"`
	NickName  string `gorm:"type:varchar(36); null;"`
	LogInfo   string `gorm:"type:varchar(255); null;"`
	LogIP     string `gorm:"type:varchar(255); null;"`
	UserAgent string `gorm:"type:varchar(255); null;"`
	BaseModel
}

func (PUB_USER_LOG) TableName() string {
	return "pub_user_log"
}
